package org.ielts.domain.log;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.ielts.domain.security.User;

@Entity
@DiscriminatorValue("AppointConsultor")
public class AppointConsultorLog extends SchoolLog {

	@ManyToOne(fetch = FetchType.EAGER)
	private User consultor;

	public User getConsultor() {
		return consultor;
	}

	public void setConsultor(User consultor) {
		this.consultor = consultor;
	}

	public AppointConsultorLog() {
		setLogType("AppointConsultor");
	}
}
